<?php



class ListCounterCodesMapBuilder implements MapBuilder {

	
	const CLASS_NAME = 'lib.model.map.ListCounterCodesMapBuilder';

	
	private $dbMap;

	
	public function isBuilt()
	{
		return ($this->dbMap !== null);
	}

	
	public function getDatabaseMap()
	{
		return $this->dbMap;
	}

	
	public function doBuild()
	{
		$this->dbMap = Propel::getDatabaseMap(ListCounterCodesPeer::DATABASE_NAME);

		$tMap = $this->dbMap->addTable(ListCounterCodesPeer::TABLE_NAME);
		$tMap->setPhpName('ListCounterCodes');
		$tMap->setClassname('ListCounterCodes');

		$tMap->setUseIdGenerator(false);

		$tMap->addPrimaryKey('COUNTER_CODE', 'CounterCode', 'VARCHAR', true, 10);

		$tMap->addColumn('IPADDRESS', 'Ipaddress', 'VARCHAR', true, 50);

	} 
} 